/**
 * @filename:Suppliment Dec 20, 2023
 * Copyright(c) 2022 Wonder Co. Ltd. 
 * All right reserved. 
 */
package com.wonder.app.domain;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import java.io.Serializable;
import java.util.Date;

/**   
 * @Description:TODO(生产补料实体类)
 * 
 * @author: Wonder
 * 
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_prd_suppliment_material")
@ApiModel(value="t_prd_suppliment_material对象", description="生产补料表")
public class Suppliment extends Model<Suppliment> {

	private static final long serialVersionUID = 1703038521599600L;
	
	@TableId(value ="id", type = IdType.AUTO)
	@ApiModelProperty(name = "id" , value = "编号")
    private Long id;
    
    @TableField(value = "prdorg") 	
	@ApiModelProperty(name = "prdorg" , value = "生产组织")
    private String prdorg;
    
    @TableField(value = "billNo") 	
	@ApiModelProperty(name = "billNo" , value = "单据编号")
    private String billNo;
    
    @TableField(value = "createTime")
	@ApiModelProperty(name = "createTime" , value = "单据日期")
    private Date createTime;
    
    @TableField(value = "status") 	
	@ApiModelProperty(name = "status" , value = "单据状态")
    private String status;
    
    @TableField(value = "picker") 	
	@ApiModelProperty(name = "picker" , value = "补料人")
    private String picker;
    
    @TableField(value = "stocker") 	
	@ApiModelProperty(name = "stocker" , value = "库管")
    private String stocker;
    
    @TableField(value = "taskBillNo") 	
	@ApiModelProperty(name = "taskBillNo" , value = "生产订单单据编号")
    private String taskBillNo;
    
    @TableField(value = "ppBomNo") 	
	@ApiModelProperty(name = "ppBomNo" , value = "生产用料清单单据编号")
    private String ppBomNo;
    
    @TableField(value = "createUserName") 	
	@ApiModelProperty(name = "createUserName" , value = "创建人")
    private String createUserName;
    
    @TableField(value = "createUserId") 	
	@ApiModelProperty(name = "createUserId" , value = "创建人id")
    private Long createUserId;

    @TableField(value = "updateUserName")
    @ApiModelProperty(name = "updateUserName" , value = "修改人")
    private String updateUserName;

    @TableField(value = "updateTime",update = "now()")
    @ApiModelProperty(name = "updateTime" , value = "修改时间")
    private Date updateTime;


    @TableField(value = "auditUserName")
    @ApiModelProperty(name = "auditUserName" , value = "审核人")
    private String auditUserName;


    @TableField(value = "auditTime")
    @ApiModelProperty(name = "auditTime" , value = "审核时间")
    private Date auditTime;

    @TableField(value = "count")
    @ApiModelProperty(name = "count" , value = "数量")
    private Double count;

    @Override
    public Serializable pkVal() {
        return this.id;
    }
   
}
